package com.bbs.utils;

public class Constants {
    public static final String SUCCESS_MESSAGE = "成功";
    public static final String SUCCESS_CODE = "200";

    public static final String FAILURE_MESSAGE = "失败";
    public static final String FAILURE_CODE = "100000";

    public static final String GLOBAL_EXCEPTION_MESSAGE = "未知错误";
    public static final String GLOBAL_EXCEPTION_CODE = "500000";

    public static final String UNAUTHENTICATED_MESSAGE = "未登录";
    public static final String UNAUTHENTICATED_CODE = "500001";

    public static final String FORBIDDEN_MESSAGE = "无权访问";
    public static final String FORBIDDEN_CODE = "500002";

    public static final String ENTITY_NOT_EXIST_MESSAGE = "目标资源不存在";
    public static final String ENTITY_NOT_EXIST_CODE = "500003";

    public static final String INVALID_TOKEN_MESSAGE = "令牌无效";
    public static final String INVALID_TOKEN_CODE = "500004";
}
